<nz-alert style="margin-bottom: 8px;" nzType="info" nzMessage={{message}}  nzShowIcon></nz-alert>
<nz-table #basicTable
          nzSize="small"
          nzNoResult=""
          nzBordered
          [nzScroll]="{x:'1200px'}"
          class="sku-multiple-table"
          cellpadding="0"
          cellspacing="0">
    <thead>
    <tr>
      <th nzLeft="0px" rowspan="3" style="background-color: #50E3C2"> 序号</th>
      <th nzLeft="0px" rowspan="3" style="background-color: #50E3C2">姓名</th>
      <th nzLeft="0px" style=" text-align: center" colspan="10" style="background-color: #50E3C2">考评内容与分值</th>
    </tr>
    <tr>
      <th nzLeft="0px" style=" text-align: center" colspan="4" style="background-color: #50E3C2">素质（40%)</th>
      <th nzLeft="0px" style=" text-align: center" colspan="4" style="background-color: #50E3C2">能力（40%）</th>
      <th nzLeft="0px" style=" text-align: center" colspan="2" style="background-color: #50E3C2">业绩（20%）</th>
    </tr>
        <tr>
            <th class="wd92" nzWidth="50px"
                style="min-width: 50px; max-width: 50px;text-align: center;background-color: #50E3C2"
                *ngFor="let attr of attrList">
                {{attr}}
            </th>
        </tr>
    </thead>
    <tbody>

        <tr *ngFor="let datarow of dataTable; let row = index">
            <td nzLeft="0px" style="text-align: center; width: 40px;">{{dataTable[row][0]}}</td>
            <td *ngFor="let col of attrListc; let stdi = index" style="text-align: center; width: 50px">
                <div *ngIf="stdi == 0" style="display: inline-block;">
                  {{dataTable[row][stdi+1]}}
                 </div>
                <nz-input-number  *ngIf="stdi >= 1 && stdi <=10" style="width: 80px;"   [(ngModel)]="dataTable[row][stdi+1]" [nzPrecision]="0" [nzSize]="'small'" [nzMin]="1" [nzStep]="1" [nzMax]="10" (paste)="pasteExcel(row, stdi, $event)"></nz-input-number>
            </td>
        </tr>

        <tr>
            <td nzLeft="0px" style="text-align: center; " colspan="2">批量</td>
            <td *ngFor="let col of attrList; let stdi = index" style="text-align: center;background: #f7f7f7;width: 50px">
                <nz-input-number  style="width: 80px;" [(ngModel)]="batch[stdi]" [nzSize]="'small'" [nzMin]="1" [nzStep]="1" [nzMax]="10" [nzPrecision]="0" (ngModelChange)="batchEdit(stdi)"></nz-input-number>
            </td>
        </tr>

    </tbody>
</nz-table>
<!--<button nz-button type="button" (click)="append(10)" *ngIf="dataTable.length <= 9" [nzType]="'dashed'" class="ant-btn__block mt-sm">-->
    <!--<i class="anticon anticon-plus"></i>-->
    <!--<span>添加</span>-->
<!--</button>-->
